package bom.dao;

import java.util.List;

/**
 * @Author: Fancyears·Maylos·Maywas
 * @Description:
 * @Date: Created in 2018/11/23 23:41
 * @Modified By:
 */
public interface BaseDao<T> {
    <T> int deleteByPrimaryKey(T t);

    <T> int insert(T t);

    <T> int insertSelective(T t);

    List<T> selectByPrimaryKey(T t);

    <T> int updateByPrimaryKeySelective(T t);

    <T> int updateByPrimaryKey(T t);
}
